import { useState } from 'react'
function useFormInput() {
    const [value, setValue] = useState('')
    const handleChange = (e) => {
        console.log(e)
        setValue(e.target.value)
    }
    return { value, handleChange }
}


export default useFormInput
